import React from 'react';
import LayoutHeader from './Header';
import { Helmet } from 'umi';
import './rest.css';
// import { Link, NavLink } from 'umi';

const Index = (props: any) => {
  return (
    <div className="main">
      <LayoutHeader />
      <div className="body">{props.children}</div>
      {/* <NavLink to='user/one'></NavLink>  切换后新增active 类名 用来修改样式  */}
      <h2 style={{ background: '#999' }}>footer</h2>
    </div>
  );
};
export default Index;
